package com.peas.platform.module.icims.base.mdm.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 站内信
@Data
@EqualsAndHashCode(callSuper = false)
public class MessageDto extends BaseDto {

    // 站内信类型
    @Comment(value = "站内信类型")
    private String messageType;

    // 站内信标题
    @Comment(value = "站内信标题")
    private String title;

    // 站内信内容
    @Comment(value = "站内信内容")
    private String content;

    // 状态
    @Comment(value = "状态")
    private String state;

    // 用户ID
    // （用户表）外键
    @Comment(value = "用户ID")
    private Long userId;

    // 已读时间
    @Comment(value = "已读时间")
    private Date readTime;

    // 操作链接
    @Comment(value = "操作链接")
    private String url;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date readTimeStart;
    private Date readTimeEnd;
}
